package com.grm.common.constant;

/**
 * 业务数据列表
 */
public class RedisKeyConstant {
    /**
     * 会员管理
     */
    public static final String MEMBER_USER_LIST = "member_user_list";
    public static final String MEMBER_USER_LIST_TOTAL = "member_user_list_total";
    public static final String MEMBER_AUTHENTICATION_LIST = "member_authentication_list";
    public static final String MEMBER_BANK_LIST = "member_bank_list";
    public static final String MEMBER_MONEY_LIST = "member_money_list";
    /**
     * 商品管理
     */
    public static final String STORE_LIST = "store_list";
    public static final String STORE_LIST_TOTAL = "store_list_total";
    /**
     * 文章管理
     */
    public static final String ARTICLE_LIST = "article_list";
    public static final String ARTICLE_LIST_TOTAL = "article_list_total";


    public static String getListKey(String key,Integer pageNum,Integer pageSize){
        return String.format("%s:%d:%d",key,pageNum,pageSize);
    }
}
